package test;

import entity.Manager;
import entity.RegularEmployee;
import system.SalaryManagementSystem;


public class test {
    public static void main(String[] args) {

        SalaryManagementSystem system = new SalaryManagementSystem();


        system.addEmployee(new RegularEmployee("张三", "EMP001", 50, 160));  // 正常时长
        system.addEmployee(new RegularEmployee("李四", "EMP002", 60, 180));  // 超出最大时长


        system.addEmployee(new Manager("王五", "MGR001", 15000, 5000));
        system.addEmployee(new Manager("赵六", "MGR002", 20000, 8000));


        system.displayAllPaySlips();
    }
}